
import headfirst.duck.Duck;
import headfirst.duck.FlyRocketPowered;
import headfirst.duck.MallardDuck;
import headfirst.duck.ModelDuck;

public class MiniDuckSimulator {

	public static void main(String[] args) {

		Duck mallard = new MallardDuck();

		mallard.performQuack();
		mallard.performFly();

		Duck model = new ModelDuck();
		model.performFly();
		model.setFlyBehavior(new FlyRocketPowered());
		model.performFly();

	}

}
